package Demo;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;

public class HelloWorld {
    public static void main(String[] args) throws IOException {

        FileOutputStream fos = new FileOutputStream("hello.txt");
        fos.write("大家好!".getBytes(StandardCharsets.UTF_8));
        System.out.println("写出完毕");
        fos.close();

        System.out.println("在host-fix分支上实现了一个功能");
        for (int i = 0; i <10 ; i++) {
            System.out.println("大家好！");
        }
        System.out.println("hahahaah");
    }
}
